ARM: vITS: add command handling stub and MMIO emulation
authorAndre Przywara <andre.przywara@arm.com>
Wed, 5 Apr 2017 08:23:32 +0000 (09:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 14 Jun 2017 18:38:37 +0000 (11:38 -0700)
commit4aa2e424061a6c8f6521b0483a51fb13c2b5af5b
treee982917d20bae19f066d837404588d6cde343066
parent9785ab2fd149dc1c4b0305a449c3079a96828797
ARM: vITS: add command handling stub and MMIO emulation

Emulate the memory mapped ITS registers and provide a stub to introduce
the ITS command handling framework (but without actually emulating any
commands at this time).
This fixes a misnomer in our virtual ITS structure, where the spec is
confusingly using ID_bits in GITS_TYPER to denote the number of event IDs
(in contrast to GICD_TYPER, where it means number of LPIs).

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic-v3-its.c
xen/include/asm-arm/gic_v3_its.h